package com.wq.httpclientcore.service;

import com.wq.httpclientcore.annotation.HttpClient;
import com.wq.httpclientcore.model.HttpResponseWrapper;
import com.wq.httpclientcore.model.TestModel;
import org.springframework.web.bind.annotation.GetMapping;

@HttpClient(baseUrl = "https://jsonplaceholder.typicode.com")
public interface TestService {
    @GetMapping("/todos/1")
    HttpResponseWrapper<TestModel> getData();
}